package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {
    //设置当前方法的访问地址
    @RequestMapping("/save")
    public String save(){
        System.out.println("user mvc controller is running...");
        //设置具体跳转地址
        return "success.jsp";
    }
}
